﻿<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="/css/bootstrap.min.css">
<script src="/js/jquery.js"></script>
<script src="/js/bootstrap.min.js"></script>




<style type="text/css">
</style>
</head>

<body>
	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="container-fluid">
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed"
					data-toggle="collapse" data-target="#navbar" >
					<span class="icon-bar"></span> <span class="icon-bar"></span> <span
						class="icon-bar"></span>
				</button>
				<a class="navbar-brand">muyu后台管理系统</a>
			</div>
			<div id="navbar" class="collapse navbar-collapse ">
				<ul class="nav navbar-nav ">
<!--					th:text="${'管理员'+session.admin.userAccount+'登陆'}"-->
					<li><a>管理员登录</a>
					</li>
				</ul>
				<ul class="nav navbar-nav ">
					<li><a th:text="${#dates.format(new java.util.Date().getTime(), 'yyyy-MM-dd hh:mm:ss')}"></a></li>
				</ul>
				<ul class="nav navbar-nav navbar-right">
					<li><a href="javascript:void(0);" onclick="logOut()" target="_self">退出</a></li>
				</ul>
			</div>
		</div>
		
	</nav>
		<script type="text/javascript">
			function logOut() {
				// $.ajax({
				// 	url:"/admin/logout",
				// 	type:"post",
				// 	success:function (res) {
				// 		if (res.message=="success"){
				// 			parent.window.location.href="/admin/";
				// 			alert("退出成功");
				// 		}
				// 	}
				// });
				parent.window.location.href="/";
			}
		</script>
		
</body>
</html>
